package com.aaa.moneymanage.services;

import com.aaa.entity.OrderCharge;
import com.aaa.entity.OrderChargeItem;
import com.aaa.moneymanage.vo.MoneyVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author ：XiaoXuan
 * @date ：Created in 2023/3/22 17:08
 * @description：
 * @modified By：
 */
public interface MoneyinServices {

    //查询所有
    Result<IPage<OrderCharge>> getMoneyIn(Integer currentPage, Integer pageSize, MoneyVo moneyVo);

    //查看详情
    Result<List<OrderChargeItem>> selectOneByOrderId(String orderId);

    //插入收费查询列表
    boolean insertOrderCharge(OrderCharge orderCharge);

    //插入收费查询的查看详情列表
    boolean insertOrderChargeItem(OrderChargeItem orderChargeItem);

}
